package at.fhj.pse.datasource;

import java.util.Date;
import java.util.List;

import at.fhj.pse.datasource.model.Activity;
import at.fhj.pse.datasource.model.TimeInterval;


public interface TimeIntervalDAO {
	
public void saveTimeInterval(TimeInterval timeInterval);
public List<TimeInterval> getTimeIntervalByDayAndUsername(Date dayOfIntervals, String username);
public List<TimeInterval> getTimeIntervalByMonthAndYearAndUsername(int month, int year, String username);
public List<TimeInterval> getTimeIntervalByEmployeeID(long employeeID);
public void deleteTimeIntervalById(long interval_id);
public List<TimeInterval> getTimeIntervalByActivityAndDatesAndUsername(Activity tiActivity, Date from_Date, Date to_Date, String username);
public List<TimeInterval> getTimeIntervalByDatesAndUsername(Date from_Date, Date to_Date, String username);

}
